package com.qcby.service.Impl;


import com.qcby.dao.StuTeacherPlanCourseMapper;
import com.qcby.entity.StuTeacherPlanCourse;
import com.qcby.entity.TeacherPlanCourse;
import com.qcby.service.StuTeacherPlanCourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("stuTeacherPlanService")
public class StuTeacherPlanCourseServiceImpl implements StuTeacherPlanCourseService {
    @Autowired
    StuTeacherPlanCourseMapper stuTeacherPlanCourseMapper;

    @Override
    public List<StuTeacherPlanCourse> selectTeaId(StuTeacherPlanCourse teacherPlanCourse) {
        return stuTeacherPlanCourseMapper.selectTeaId(teacherPlanCourse);
    }

    @Override
    public int deleteByNo(Integer id) {
        return 0;
    }

    @Override
    public int selectByPrimaryKey(Integer id) {
        return id;
    }

    @Override
    public List<StuTeacherPlanCourse> selectId(Integer planCourse_id, Integer tea_account) {
        return stuTeacherPlanCourseMapper.selectId(planCourse_id,tea_account);
    }

    @Override
    public List<TeacherPlanCourse> selectTeacherId(Integer course_no, Integer tea_account) {
        return stuTeacherPlanCourseMapper.selectTeacherId(course_no,tea_account);
    }


}
